package com.example.redstarcommerce;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.example.redstarcommerce.cn.dh.*.mapper")
@ComponentScan(basePackages = "com.example.redstarcommerce.cn.dh.*.service.impl")
@ComponentScan(basePackages = "com.example.redstarcommerce.cn.dh.*.controller")

public class RedStarCommerceApplication {

    public static void main(String[] args) {
        SpringApplication.run(RedStarCommerceApplication.class, args);
    }
}
